<form name="procurar" 
        action="<?php echo $this->url(array('controller'=>'indicadores','action'=>'periodo')); ?>" 
        method="post">
    <input type="hidden" value="<?php echo $this->num_indicadores;?>" name="num_indicadores">
    <table>
        <tr>
            <td>Sistema</td>
            <td>Servidor</td>
            <td>Banco de dados</td>
            <td>Usuário</td>
            <td>Senha</td>
        </tr>
        <?php foreach($this->sistemas as $sistema){?>
        <tr>
            <td class="td-default"><?php echo $sistema->nome_sistema;?></td>
            <td class="td-default"><?php echo $sistema->nome_servidor;?></td>
            <td class="td-default"><?php echo $sistema->nome_banco;?></td>
            <td class="td-default"><input type="text" name="username[<?php echo $sistema->codigo;?>]"
                       value="<?php echo $sistema->nome_usuario;?>"></td>
            <td class="td-default"><input type="password" name="password[<?php echo $sistema->codigo;?>]">
            </td>
        </tr>
        <?php }?>
    </table>
    <input type="submit" value="Continuar">
</form>
